﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;

using Particle3DSample;

namespace MiaProject
{
    class ParticleManager
    {
        private static ParticleManager instance;
        public List<Vector3> explosionList;
        
        private ParticleManager()
        {
            explosionList = new List<Vector3>();
        }
        public static ParticleManager getInstance()
        {
            if (instance == null)
                instance = new ParticleManager();
            return instance;
        }
        public void addExplosion(Vector3 pos)
        {
            explosionList.Add(pos);
        }
        public void remove(List<Vector3> removeList)
        {
            foreach(Vector3 pos in removeList)
                this.explosionList.Remove(pos);       
        }
         
    }
}
